<?php
require_once("inc.member.php");

ini_set('session.bug_compat_warn', 0);
ini_set('session.bug_compat_42', 0);

$_SESSION["uid"]='10002'; 
$_SESSION["dist_code"]='10002';
encrypt_user_login_sess_cookie('ming1','7ae46d7e9d95fa0e8bfed187c7885275:cn8k31tf0cobda2cwfbjaj4g0o05znh3');
$forward_url=$return_url? $return_url : MEMBER_URL."/".$vars["file"]["member"]["index"];

header("Location: $forward_url");
exit();
//require_once("inc.member.php");
/*
//$user = mysql_fetch_assoc($r=mysql_query("select * from $db->users where id=".$_GET["id"]));
echo '1='.$_SESSION["uid"];
$_SESSION["uid"]='10002'; 
$_SESSION["dist_code"]='10002';
//encrypt_user_login_sess_cookie($user['username'], $user['enc_password']);
//encrypt_user_login_sess_cookie('ming1','7ae46d7e9d95fa0e8bfed187c7885275:cn8k31tf0cobda2cwfbjaj4g0o05znh3');

$in_username='ming1';
$in_password='7ae46d7e9d95fa0e8bfed187c7885275:cn8k31tf0cobda2cwfbjaj4g0o05znh3';


echo '2='.$_SESSION["uid"]; exit;
*/
?>
